class Person:
    name='json'
    age=26
    def shili(self):
        print(self.name,self.age)
    @classmethod
    def leifangfa(cls):
        print(cls.name,cls.age)
    @staticmethod
    def jingtai():
        print(Person.name,Person.age)

a=Person()
a.shili()
Person.leifangfa()
Person.jingtai()